import service from '@/plugins/utils/request'

export default{
	//mobile
	//password
	LoginByWeChat(data) {
		return service({
			url: `api/User/LoginByWeChat`,
			method: 'post',
			data
		})
	},
	
	//mobile
	//vertifycode
	//password
	updPwd(data) {
		return service({
			url: `api/User/UpdPwd`,
			method: 'post',
			data
		})
	},

	GetUserInfo(data) {
		return service({
			url: `api/User/GetUserInfo`,
			method: 'post',
			data
		})
	},
	
	ListCollect(data) {
		return service({
			url: `api/User/ListCollect`,
			method: 'post',
			data
		})
	},


	Publish(data) {
		return service({
			url: `api/User/Publish`,
			method: 'post',
			data
		})
	},

	ListModel(data) {
		return service({
			url: `api/User/ListModel`,
			method: 'post',
			data
		})
	},

	AddModel(data) {
		return service({
			url: `api/User/AddModel`,
			method: 'post',
			data
		})
	},

	UpdateModel(data) {
		return service({
			url: `api/User/UpdateModel`,
			method: 'post',
			data
		})
	},

	DeleteModel(data) {
		return service({
			url: `api/User/DeleteModel`,
			method: 'post',
			data
		})
	},
	
	UpdateUserInfoByWx(data) {
		return service({
			url: `api/User/UpdateUserInfoByWx`,
			method: 'post',
			data
		})
	},

	UpdMobile(data) {
		return service({
			url: `api/User/UpdMobile`,
			method: 'post',
			data
		})
	},

	SendVertifyCode(data) {
		return service({
			url: `api/SMS/SendVertifyCode`,
			method: 'post',
			data
		})
	},
	
} 